package model;

public class SpecialEnemyDecorator extends Enemy {
    public Enemy enemy;

    public SpecialEnemyDecorator(Enemy enemy) {
        super(enemy.x, enemy.y);
        this.enemy = enemy;
    }

    // 可以在这里添加特殊效果的逻辑，比如改变敌人的移动速度等
    @Override
    public String toString() {
        return "特殊敌人 at (" + x + ", " + y + ")";
    }
}